#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Date    : 2014-08-22 01:14:23
# @Author  : shitao.tommy (hero007asd@gmail.com)
# @Link    : http://example.org
# @Version : $Id$

type_dict = {'1':'抢购秒杀',
            '2':'满就送礼品',
            '3':'满就送商品',
            '4':'满就返还',
            '5':'满就减',
            '6':'打折'}

def get_type_dict():
    return type_dict

def get_name(type_id):
    return type_dict[str(type_id)]
